package com.tensquare.article.dao;

import com.tensquare.article.pojo.Comment;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @author: WangYaWei
 * @description:
 * @create: 2019-08-15 18:05
 **/
public interface CommentDao extends MongoRepository<Comment, String>{
    List<Comment> findByArticleid(String articleid);
}
